interface Country {
    name: string
}

class China implements Country {
    name: string;
    area: number;

    constructor(name: string,area: number) { 
        this.name = name; 
        this.area = area; 
     } 
}

var country = new China("zg",960);
console.log(country);